package com.rdzn.mall.center.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: cms_topic
 * @Author: jeecg-boot
 * @Date:   2020-08-27
 * @Version: V1.0
 */
@Data
@TableName("cms_topic")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="cms_topic对象", description="cms_topic")
public class CmsTopic implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**categoryId*/
	@Excel(name = "categoryId", width = 15)
    @ApiModelProperty(value = "categoryId")
    private java.lang.Integer categoryId;
	/**name*/
	@Excel(name = "name", width = 15)
    @ApiModelProperty(value = "name")
    private java.lang.String name;
	/**startTime*/
	@Excel(name = "startTime", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "startTime")
    private java.util.Date startTime;
	/**endTime*/
	@Excel(name = "endTime", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "endTime")
    private java.util.Date endTime;
	/**参与人数*/
	@Excel(name = "参与人数", width = 15)
    @ApiModelProperty(value = "参与人数")
    private java.lang.Integer attendCount;
	/**关注人数*/
	@Excel(name = "关注人数", width = 15)
    @ApiModelProperty(value = "关注人数")
    private java.lang.Integer attentionCount;
	/**readCount*/
	@Excel(name = "readCount", width = 15)
    @ApiModelProperty(value = "readCount")
    private java.lang.Integer readCount;
	/**奖品名称*/
	@Excel(name = "奖品名称", width = 15)
    @ApiModelProperty(value = "奖品名称")
    private java.lang.String awardName;
	/**参与方式*/
	@Excel(name = "参与方式", width = 15)
    @ApiModelProperty(value = "参与方式")
    private java.lang.String attendType;
	/**话题内容*/
	@Excel(name = "话题内容", width = 15)
    @ApiModelProperty(value = "话题内容")
    private java.lang.String content;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
}
